﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaobaoERP.Core.Repository;
using TaobaoERP.Entity;
using TaobaoERP.BusinessServices.Common;

namespace TaobaoERP.BusinessServices
{
    public class DictService : RepositoryBase
    {
        public static List<DictItem> ListDictItemByID(Guid DictID)
        {
            using (RepositoryContext db = new RepositoryContext())
            {
                var a = from f in db.GetTable<DictItem>() where f.DictID == DictID select f;
                return a.ToList();
            }
        }
    }
}
